@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//窗体滚动条
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #F5F5F5;
}

body::-webkit-scrollbar {
  width: 6px;
  background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(48, 65, 86);
}

//main-container全局样式
.app-main {
  min-height: 100%
}

.app-container {
  padding: 13px;
}

.filter-container {
  padding-bottom: 10px;
}

.search-btn {
  width: 260px;
}

.float-right {
  float: right;
}

.float-right::after {
  content: " ";
  clear: both;
}

.lz-tips {
  display: inline-block;

  label {
    font-size: 14px;
    color: #606266;
    line-height: 40px;
    padding: 0 12px 0 30px;
  }
}

.clearboth {
  clear: both;
}

.el-table {
  .cell {
    white-space: pre-line;
  }
}


.h4 {
  font-size: 20px;
  padding: 20px 0;

  span {
    font-size: 12px;
  }
}

.el-col {
  border-radius: 4px;
}

.bg-purple-dark {
  background: #99a9bf;
}

.bg-purple {
  background-color: #d3dce6;
}

.bg-purple-light {
  background: #e5e9f2;
}

.mb-4 {
  margin-bottom: 20px;
}

.grid-content {
  border-radius: 4px;
  min-height: 80px;
  overflow: hidden;
}

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card-body {
  flex: 1 1 auto;
  min-height: 80px;
}

.card-small {
  box-shadow: 0 2px 0 rgba(90, 97, 105, 0.11), 0 4px 8px rgba(90, 97, 105, 0.12),
    0 10px 10px rgba(90, 97, 105, 0.06), 0 7px 70px rgba(7, 21, 37, 0.1);
}

.text-center {
  text-align: center;
}

.stats-small__value {
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  margin-top: 3px;
  margin-bottom: 3px;
  font-weight: 500;
}

.stats-small__label {
  font-size: 14px;
  color: #818ea3;
}

.m-auto {
  margin: auto !important;
}

.d-flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-column {
  flex-direction: column;
}


.container-top {
  background: #028cdf;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.logo {
  width: 170px;
  height: 92px;
  background: url("~@/assets/logo.png") no-repeat 0px 20px;
  background-size: 100%;
}

.logo-icon {
  width: 170px;
  height: 60px;
  background: url("~@/assets/logo-blue.png") no-repeat 0px 20px;
  background-size: 100%;
}

.logo-bg {
  width: 100%;
  background-color: rgb(48, 65, 86);
  display: flex;
  justify-items: center;
  align-items: center;
}

.logo-center {
  margin: auto;
}

.logo-box {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

.logo-txt {
  margin-left: 10px;
}

.upload-box {
  margin-top: 80px;
}

.upload-name-box {
  width: 200px;
  margin-left: 20px;
}

.upload-name {
  width: 200px;
  text-align: left;

  span {
    text-align: center;
    font-size: 12px;
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    color: #fff;
    background-color: #028cdf;
    cursor: pointer;
  }
}

.display-flex {
  display: flex;
  align-items: center;
}

.btn-submit {
  width: 100%;
  color: #028cdf;
  background: #fff;
}

.container-body {
  padding: 20px;

  img {
    width: 100%;
  }
}

.input {
  width: 100px;
  text-align: center;
  color: #333333;
}

input::-webkit-input-placeholder {
  color: #999999;
}

#table-1 thead,
#table-1 tr {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #d3d8e3;
}

#table-1 {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #d3d8e3;
}

#table-1 td:first-child {
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #d3d8e3;
}

/* Padding and font style */
#table-1 td,
#table-1 th {
  padding: 10px 10px;
  font-size: 12px;
  font-family: Verdana;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: #d3d8e3;
}

#table-1 tr:first-child {
  background: #e5e8ed;
  font-weight: 550;
}

.color-000 {
  color: #000 !important;
}

.upload-demo {
  margin: auto;
  width: 400px;
  display: flex;
}

.el-upload-list {
  margin-left: 20px;
}

.space {
  margin: 20px 0;
}

.title-space {
  display: flex;
  align-items: center;
  margin: 20px 0;

  span {
    font-size: 14px;
    font-weight: 500;
  }
}

.btn-cancel-color {
  width: 200px;
  background-color: rgba(108, 199, 238, 1);
  border: 1px solid rgba(108, 199, 238, 1);
}

.btn-submit-color {
  width: 200px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: center;
}

.overflow {
  overflow: scroll;

}

.mat-dialog__wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  margin: 0;
}

.mat-dialog {
  margin-top: 5%;
  width: 90%;
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto 50px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  width: 50%;
}

.upload-demo .el-progress {
  display: none;
}

.el-progress__text {
  color: #028cdf;
}

.upload-list__item::after {
  content: "";
  clear: both;
}

.el-upload-list__item:hover .el-upload-list__item-name {
  color: #028cdf;
}

.el-upload-list__item:hover .el-icon-document {
  color: #028cdf !important;
}

// .el-upload-list__item-name {
//   color: #fff;
// }
.el-upload-list--text {
  text-align: left;
}

.el-upload-dragger {
  width: 400px;
  height: 200px;
}

.el-upload-dragger .el-upload__text {
  font-size: 18px;
}

// .el-icon-document {
//   color: #fff !important;
// }

.el-icon-upload {
  margin: 60px 0 15px !important;
}

.m-top-fff {
  margin-top: 50px;
  background-color: #fff;
}

.logout-postion {
  position: absolute;
  top: 50px;
  right: 30px;
  width: 50px;
  height: 50px;
  text-align: center;
  cursor: pointer;
}

.logout {
  margin-top: 10px;
  font-size: 30px;
}

.nav {
  position: absolute;
  top: 50px;
  right: 100px;
  margin-top: 15px;

  &-item {
    float: left;
    margin-right: 20px;
    font-size: 18px;
    cursor: pointer;


    .border {
      width: 60px;
      margin: 10px auto;
      padding: 0 5px;
    }
  }

  &-item:hover {
    .border {
      border-bottom: 2px solid #fff;
    }
  }

  .act {
    .border {
      padding: 0 5px;
      border-bottom: 2px solid #fff;
    }
  }
}